package com.mdd.common.mapper.goods;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mdd.common.core.basics.IBaseMapper;
import com.mdd.common.entity.goods.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GoodsMapper extends IBaseMapper<Goods> {


    /**
     * 查询收藏列表 app
     * @param page
     * @param userId
     * @return
     */
    IPage<Goods> getCollectListApp(Page page, @Param("userId") Integer userId);
}
